package com.yangjun.common.enums;

public enum ColorTypeEnum {
	one("#008aff"),two("#f26f6e"),three("#5db19c"),four("#ffa60b")
	,five("#a699e7"),six("#8cd44f");
	private String color;
	
	
	private ColorTypeEnum(String color) {
		this.color = color;
	}


	public String getColor() {
		return color;
	}


	public void setColor(String color) {
		this.color = color;
	}
	public static String getColorType(String checkBoxName){
		 if("one".equals(checkBoxName)||"100".equals(checkBoxName)||"one".equals(checkBoxName)){
			 return one.getColor();
		 }else if("two".equals(checkBoxName)){
			 return two.getColor();
		 }else if("three".equals(checkBoxName)){
			 return three.getColor();
		 }else if("four".equals(checkBoxName)){
			 return four.getColor();
		 }else if("five".equals(checkBoxName)){
			 return five.getColor();
		 }else if("six".equals(checkBoxName)){
			 return six.getColor();
		 }else{
			 return "#000000";
		 }
	 }
}
